package com.hnhcyy.goods.service;

import java.io.IOException;
import java.util.HashMap;
import java.util.List;

public interface SearchService {

public HashMap get(int sjid,String spid) ;
	
	public void set(int sjid,String spid,HashMap goods) ;
	
	public void del(int sjid,String spid) throws IOException;
	
	//elsearch get
	public HashMap elget(int sjid,String spid);
	
	public boolean elset(int sjid,String spid);
	
	public boolean elsetall();
	
	public void elset(HashMap goods);
	
	public boolean eldel(int sjid,String spid) throws IOException;
	
	public HashMap elsearch(int sjid,String spid);
	
	public List<HashMap> firstpage(int sjid,int qyid,String dwbh,int lbid,int rows);
	
	public String getSpids(int sjid,int qyid,String dwbh) ;
	
	public HashMap searchall(int sjid,int qyid,String dwbh,int from,int size);
	
	public List<HashMap> searchallcount(int sjid,int qyid,String dwbh,int from,int size);
}
